package src.main.shipeiqi.duixianf_shipeiqi;

import src.main.shipeiqi.lei_shipeiqi.New;
import src.main.shipeiqi.lei_shipeiqi.NewImpl;
import src.main.shipeiqi.lei_shipeiqi.Old;
import src.main.shipeiqi.lei_shipeiqi.OldAndNew;

public class TestOldNew {
    public static void main(String[] args) {
        Old old=new Old();
        OldAndNewObject oldAndNewObject=new OldAndNewObject(old);
        oldAndNewObject.newF();
        oldAndNewObject.old();
    }
}
